//
//  LGScrollTextViewC.m
//  UniverseProject
//
//  Created by king on 2021/6/18.
//  Copyright © 2021 Cloud2209. All rights reserved.
//

#import "LGScrollTextView.h"
#import "LGScrollTextViewC.h"

@interface LGScrollTextViewC ()

@property (nonatomic, weak)LGScrollTextView * textView;

@end

@implementation LGScrollTextViewC

- (void)viewDidLoad {
    [super viewDidLoad];
    
    LGScrollTextView *textView = [[LGScrollTextView alloc] initWithFrame:CGRectMake(30,20, self.view.bounds.size.width-60, 20)];
    textView.speed = 0.3;
    textView.text = @"41岁对大部分球员而言绝对算是超龄服役，但马努";
    [self.view addSubview:textView];
    
   
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
